package com.wyf.springbootmybatis.service;

import com.github.pagehelper.PageInfo;
import com.wyf.springbootmybatis.po.User;
import com.wyf.springbootmybatis.query.UserQuery;

public interface UserService {

    public User queryUserByName(String userName);

    public User queryUserById(Integer userId);

    public void addUser(User user);

    public void updateUser(User user);

    public void deleteUserById(Integer userId);

    public PageInfo<User> queryUserByParams(UserQuery userQuery);
}
